package com.company.cloud.uba.modules.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.company.cloud.common.bean.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 4_用户注册日志表 
 * </p>
 *
 * @author anros
 * @since 2020-11-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("uba_user_register_log")
public class UserRegisterLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
     @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.INPUT)
      private String id;

    /**
     * 公司编号
     */
     @ApiModelProperty(value = "公司编号")
      private String companyNo;

    /**
     * 用户ID
     */
     @ApiModelProperty(value = "用户ID")
      private Integer userId;

    /**
     * 三方用户ID
     */
     @ApiModelProperty(value = "三方用户ID")
      private Integer thirdUserId;

    /**
     * 三方OpenId
     */
     @ApiModelProperty(value = "三方OpenId")
      private String thirdOpenId;

    /**
     * 用户名
     */
     @ApiModelProperty(value = "用户名")
      private String userName;

    /**
     * 登录令牌
     */
     @ApiModelProperty(value = "登录令牌")
      private String token;

    /**
     * 匿名用户标记
     */
     @ApiModelProperty(value = "匿名用户标记")
      private String anonyToken;

    /**
     * 注册方式
     */
     @ApiModelProperty(value = "注册方式")
      private String registerType;

    /**
     * 登录IP地址
     */
     @ApiModelProperty(value = "登录IP地址")
      private String registerIp;

    /**
     * 客户端类型
     */
     @ApiModelProperty(value = "客户端类型")
      private String clientType;

    /**
     * 手机设备号
     */
     @ApiModelProperty(value = "手机设备号")
      private String mobileNo;

    /**
     * 经纬度分类
     */
     @ApiModelProperty(value = "经纬度分类")
      private String llType;

    /**
     * 经度
     */
     @ApiModelProperty(value = "经度")
      private Double longitude;

    /**
     * 纬度
     */
     @ApiModelProperty(value = "纬度")
      private Double latitude;

    /**
     * 注册时间
     */
     @ApiModelProperty(value = "注册时间")
      private LocalDateTime registerDate;

    /**
     * 来源地址
     */
     @ApiModelProperty(value = "来源地址")
      private String sourceUrl;


}
